
export interface AttrVO {
  // 主键信息
  id?: number;
  name: string;
  parentId?: number;
}

export type AttrList = AttrVO[];



export interface CategoryState {
  category1Id?: number | null,
  category2Id?: number | null,
  category3Id?: number | null,
  category1List: AttrList,
  category2List: AttrList,
  category3List: AttrList,
}



export interface AttrValueVO {
  id?: number,
  attrName: string,
  categoryId: number,
  categoryLevel: number,
  attrValueItemList: AttrValueItemList,
  // 临时收集的属性信息
  attrIdAndValueId?: string,
}
export type AttrValueList = AttrValueVO[];
export interface AttrValueItem {
  id?: number,
  valueName: string,
  attrId?: number,
  flag?: boolean,
}
export type AttrValueItemList = AttrValueItem[];